import { PLATFORM_Map } from "@/constant/index";
import mealmanagement from "@/assets/images/leftminsvg/mealmanagement.svg?component";
export default {
	path: '/set-meal-management',
	redirect: '/operate/set-meal-management/sms-set-meal',
	meta: {
		title: '套餐消耗',
		showLink: true,
		rank: 10,
		icon: mealmanagement,
		platform: [PLATFORM_Map.operate],
		roles: ['business.setmel.select']
	},
	children: [
		{
			name: 'package-balance',
			path: '/operate/set-meal-management/package-balance',
			component: () => import('@/views/operate/set-meal-management/package-balance/index.vue'),
			meta: {
				title: '套餐余额',
				showParent: true,
				roles:['business.setmel.select']
			}
		},
		{
			name: 'sms-set-meal',
			path: '/operate/set-meal-management/sms-set-meal',
			component: () => import('@/views/operate/set-meal-management/sms-set-meal/index.vue'),
			meta: {
				title: '短信记录',
				showParent: true,
				roles:['business.setmel.select']
			}
		}, {
			name: 'voice-set-meal',
			path: '/operate/set-meal-management/voice-set-meal',
			component: () => import('@/views/operate/set-meal-management/voice-set-meal/index.vue'),
			meta: {
				title: '语音记录',
				showParent: true,
				roles:['business.setmel.select']
			}
		},
	]
} satisfies RouteConfigsTable;
